/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package am.aua.renju.databaseaccess;

import am.aua.renju.entity.Player;
import java.util.List;

/**
 *
 * @author ara
 */
public interface IUserOperations {

    void createUser(Player user);

    void deleteUser(String email);

    Player getUser(String email);

    Player getUserByNickname(String nickname);

    void updateNickname(String email, String newNickname);

    void updatePassword(String email, String newPassword);

    void updateUserRating(String email, int newRating);

    public void close();

    public List<Player> getTop10Players();
}
